A q-Matrix Encoding Extending the Parikh Matrix Mapping
نویسنده
چکیده
We introduce a generalization of the Parikh mapping called the Parikh q-matrix encoding, which takes its values in matrices with polynomial entries. The encoding represents a word w over a k-letter alphabet as a (k + 1)-dimensional upper-triangular matrix with entries that are nonnegative integral polynomials in variable q. Putting q = 1, we obtain the morphism introduced by Mateescu, Salomaa, Salomaa, and Yu [6] which extends the Parikh mapping to (k + 1)-dimensional (numerical) matrices. The Parikh q-matrix encoding however, produces matrices that carry more information about w than the numerical Parikh matrix. In fact it is injective. The entries of the q-matrix image of w under this encoding is constructed by q-counting the number of occurrences of certain words as scattered subwords of w. This construction is distinct from the Parikh q-matrix mapping into k-dimensional upper-triangular matrices with integral polynomial entries introduced by Eğecioğlu and Ibarra [2].
منابع مشابه
Extending Parikh q-matrices
1. A. Atanasiu. Binary amiable words. International Journal of Foundations of Computer Science, 18(2):387–400, 2007. 2. A. Atanasiu, R. Atanasiu, and I. Petre. Parikh matrices and amiable words. Theoretical Computer Science, 390:102–109, 2008. 3. A. Atanasiu, C. Martin-Vide, and A. Mateescu. On the injectivity of the parikh matrix mapping. Fundamenta Informatica, 46:1–11, 2001. 4. S. Bera and K...
متن کاملA Matrix q-Analogue of the Parikh Map
We introduce an extension of the Parikh mapping called the Parikh -matrix mapping, which takes its values in matrices with polynomial entries. The morphism constructed represents a word over a -letter alphabet as a -dimensional upper-triangular matrix with entries that are nonnegative integral polynomials in variable . We show that by appropriately embedding the -letter alphabet into the -lette...
متن کاملA sharpening of the Parikh mapping
In this paper we introduce a sharpening of the Parikh mapping and investigate its basic properties. The new mapping is based on square matrices of a certain form. The classical Parikh vector appears in such a matrix as the second diagonal. However, the matrix product gives more information about a word than the Parikh vector. We characterize the matrix products and establish also an interesting...
متن کاملCodi able Languages and the Parikh Matrix Mapping
We introduce a couple of families of codi able languages and investigate properties of these families as well as interrelationships between di erent families. We also develop an algorithm based on the Earley algorithm to compute the values of the inverse of the Parikh matrix mapping over a codi able context-free language. Finally, an attributed grammar that computes the values of the Parikh mat...
متن کاملCodifiable Languages and the Parikh Matrix Mapping
We introduce a couple of families of codifiable languages and investigate properties of these families as well as interrelationships between different families. Also we develop an algorithm based on the Earley algorithm to compute the values of the inverse of the Parikh matrix mapping over a codifiable context-free language. Finally, an attributed grammar that computes the values of the Parikh ...
متن کامل